package com.superbytecode.cloud.common.utils.module;

import lombok.Data;

import java.util.List;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: sanskrit
 * @Package: com.superbytecode.cloud.core.utils.module
 * @ClassName: BeanDiffModule
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/8/16 18:03
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@Data
public class BeanDiffModule {
   /* @FieldExplain("用户名")
    private String username;
    @FieldExplain("用户密码")
    private String password;
    @FieldExplain("性别")
    @FieldDict(enumType = GenderEnum.class, codeType = Character.class)
    private Character gender;
    @FieldExplain("用户状态")
    private Boolean enable;
    @FieldExplain("手机号码")
    private String mobile;
    @FieldExplain("标识列表")
    private List<Integer> historyRecords;

    public static BeanDiffModule newInstance(String username, String password, Character gender, Boolean enable, String mobile, List<Integer> historyRecords) {
        BeanDiffModule module = new BeanDiffModule();
        module.setUsername(username);
        module.setPassword(password);
        module.setGender(gender);
        module.setEnable(enable);
        module.setMobile(mobile);
        module.setHistoryRecords(historyRecords);
        return module;
    }*/
}